package com.itheima.service;

import com.itheima.domain.Account;
import com.itheima.domain.Infor;
import com.itheima.domain.Trade;

import java.util.Date;
import java.util.List;

public interface UserService {
     Account login(Account account);

    String selectBalance(String accountID, String password);

    List<Trade> selectTransactions(Date startTime, Date endTime,String accountID);

    Infor transferTo(String accountID, String password, String toAccount, String money);
}
